home *** CD-ROM | disk | FTP | other *** search
/ PC Format (UK) 134 / PC Format DVD 2002.iso / Full / 3D Flash Animator / 3DFlashAnimator3Setup.exe / file0870_2048d1_205051.bin < prev    next >
Encoding:
Text File  |  2001-11-08  |  7.3 KB  |  233 lines

  1. <base registry="Dialog\RadioButton">
  2. <body bgcolor="normal" text="#000000" translate>
  3. <basefont charset="object.text.font_charset">
  4. <div valign=middle>
  5.  
  6. <include src="properties_include_actions.html">
  7. <include src="properties_include_elements.html">
  8.  
  9. <script language="EasyScript">
  10.  
  11.     element_types = new Array;
  12.     help_object = object;
  13.  
  14. ///////////////////////////////////
  15. function GetFontList (variable_name)
  16. {
  17.     string = "<select name=\"" + variable_name + "\" scrollable>";
  18.     string += "<include vectorfonts>";
  19.     string += "</select>";
  20.     return string;
  21. }
  22. //////////////////////////
  23. function ChooseCharacter ()
  24. {
  25.     c = showModalDialog ("choose_character.html", object.text.font_charset);
  26.     if (c) object.items.getFrame().name = object.items.getFrame().name + toChar (c);
  27.     window.reparse();
  28. }
  29. ////////////////////////
  30. function BuildRadioButton ()
  31. {
  32.     object.build ();
  33.     object.getParent().select (object);
  34.     window.reparse();
  35. }
  36.  
  37. </script>
  38.  
  39. <table width="100%" cellspacing=4 cellpadding=0 bgcolor="light" borderstyle="raised">
  40. <tr><td>
  41. <img src="images/large_RadioButton.bitmap">
  42. <td>
  43. <font face="Arial" size=+2 color="#000000">Radio Button</font>
  44. <spacer>
  45. <input type="text" size=16 name="object.name" onBlur="interface.reparseDialogs()">
  46. <td width=exact><img checkbutton src="images/large_dialog_help.bitmap" name="object.flags.help" title="Option help" onClick="window.reparse()">
  47. </table>
  48.  
  49. <spacer height=4><!--//////////// Appearance ////////////////////-->
  50.  
  51. <table width="100%" cellspacing=8 cellpadding=0 bgcolor="light" borderstyle="raised"><tr><td>
  52.  
  53.     <table>
  54.     <tr><td>On image
  55.     <td><img button src='images/small_open.bitmap' onMouseUp="LoadImage('on_image')" title='Choose an image'>
  56.         <img button src='images/small_flash.bitmap' onMouseUp="NewImage('on_image')" title='Create a new image'>
  57.         <img button src='images/small_paste.bitmap' onMouseUp="PasteImage('on_image')" title='Paste an image'>
  58.         <if value="!object.getProperty('on_image')"> <i>Default image</i>
  59.         <else>
  60.             <img button src='images/small_copy.bitmap' onMouseUp="CopyImage('on_image')" title='Copy the image'>
  61.             <img button src='images/small_dialog_window.bitmap' onMouseUp='object.on_image.open()' title='Open loading movie'>
  62.             <img button src='images/small_delete.bitmap' onMouseUp="DeleteImage('on_image')" title='Remove image'>
  63.              <a OnDblClick='object.on_image.open()'>
  64.             <include value="object.on_image.getName().inQuotes()">
  65.             </a>
  66.         </if>
  67.  
  68.     <tr><td>Off image
  69.     <td><img button src='images/small_open.bitmap' onMouseUp="LoadImage('off_image')" title='Choose an image'>
  70.         <img button src='images/small_flash.bitmap' onMouseUp="NewImage('off_image')" title='Create a new image'>
  71.         <img button src='images/small_paste.bitmap' onMouseUp="PasteImage('off_image')" title='Paste an image'>
  72.         <if value="!object.getProperty('off_image')"> <i>Default image</i>
  73.         <else>
  74.             <img button src='images/small_copy.bitmap' onMouseUp="CopyImage('off_image')" title='Copy the image'>
  75.             <img button src='images/small_dialog_window.bitmap' onMouseUp='object.off_image.open()' title='Open loading movie'>
  76.             <img button src='images/small_delete.bitmap' onMouseUp="DeleteImage('off_image')" title='Remove image'>
  77.              <a OnDblClick='object.off_image.open()'>
  78.             <include value="object.off_image.getName().inQuotes()">
  79.             </a>
  80.         </if>
  81.     </table>
  82.  
  83. <tr><td><spacer height=8>
  84. <tr><td>
  85.  
  86.     <table>
  87.         <tr><td>HTML<td><input type='textarea' size=30,2 width=max name='object.text.text' charset="object.text.font_charset" onChange='object.build()'>
  88.         <tr><td>Variable<td><input type="text" size=16 name="object.variable">
  89.         <tr><td>Value<td><input type="text" size=16 name="object.value">
  90.     </table>
  91.  
  92. </table>
  93.  
  94. <spacer height=8><!--/// States ///////////////////-->
  95.  
  96. <include src="properties_actions_script.html">
  97. <tabcontrol name="RadioButton_state" bgcolor="light">
  98. <tabpage caption="Click on">
  99.  
  100. <include src="properties_actions.html" object="object.click_on_actions">
  101.  
  102. <p>
  103.  
  104. <spacer>Click on sound<spacer width=10>
  105. <include src="properties_choose_sound.html">
  106. <include value="AddSoundProperty('click_on_sound')">
  107.  
  108. <tabpage caption="Click off">
  109.  
  110. <include src="properties_actions.html" object="object.click_off_actions">
  111.  
  112. <p>
  113. <spacer>Click off sound<spacer width=10>
  114. <include value="AddSoundProperty('click_off_sound')">
  115.  
  116. </tabcontrol>
  117.  
  118. <spacer height=4><!--//////////// Font ////////////////////-->
  119.  
  120. <table width="100%" cellspacing=8 cellpadding=0 bgcolor="light" borderstyle="raised"><tr><td>
  121. <table cellspacing=0 cellpadding=2><tr>
  122. <td><u>Font</u><spacer width=8>
  123.  
  124. <td><include value="GetFontList('object.text.font_face')">
  125.     <spacer width=8>
  126.     <input type="text" name="object.text.font_height" size=4" onBlur="BuildRadioButton()">
  127.         <img src="images/other_slider.bitmap" onclick="window.openSlider('object.text.font_height',8,200,1,'','BuildRadioButton()')">
  128.  
  129. <tr><td>Language<td>
  130. <select name="object.text.font_charset" onChange="window.reparse(),BuildRadioButton()">
  131.     <option>normal
  132.     <option>symbol
  133.     <option>arabic
  134.     <option>baltic
  135.     <option>chinese
  136.     <option>easteuropean
  137.     <option>westeuropean
  138.     <option>greek
  139.     <option>hebrew
  140.     <option>japanese
  141.     <option>johab
  142.     <option>korean
  143.     <option>russian
  144.     <option>turkish
  145.     <option>thai
  146.     <option>vietnamese
  147. </select>
  148.  
  149. <a button width=+6 height=+2 onMouseUp="ChooseCharacter()">Map</a>
  150.  
  151. </table>
  152. </table>
  153.  
  154. <spacer height=4><!--////////////////////////////////////-->
  155.  
  156. <table width="100%" cellspacing=6 cellpadding=2 bgcolor="light" borderstyle="raised">
  157. <tr><td>
  158. <spacer>Export font height adjustment<spacer>
  159. <input type="text" size=4 name="object.text.export_adjust" onBlur="BuildRadioButton()">
  160. <a onclick="window.openSlider('object.text.export_adjust',-5,5,0.1,'','BuildRadioButton()')"><img src="images/other_slider.bitmap"></a>
  161. </table>
  162.  
  163. <spacer height=4><!--/// Position ///////////////////-->
  164.  
  165. <table width="100%" cellspacing=4 cellpadding=8 bgcolor="light" borderstyle="raised">
  166. <tr><td>
  167.  
  168. <include src="properties_layer_position.html">
  169.  
  170. </table>
  171.  
  172. <spacer height=4><!--////////////////////////////////////-->
  173.  
  174. <table width="100%" cellspacing=3 cellpadding=8>
  175. <tr><td>
  176. <include value="explore('object')">
  177. </table>
  178.  
  179. <script language="EasyScript">
  180.  
  181. ////////////////////////////
  182. function LoadImage (property)
  183. {
  184.     var name = fileOpenDialog ("Bitmap");
  185.     if (name){
  186.         var image = fileLoad (name);
  187.         if (!image.isType("Bitmap")) debug ("Image must be a bitmap");
  188.         else {
  189.             object.setProperty (property, image);
  190.             image.position.x = 0;
  191.             image.position.y = 0;
  192.             image.open();
  193.             object.build();
  194.             object.changed();
  195.             window.reparse();}}
  196. }
  197. ///////////////////////////
  198. function NewImage (property)
  199. {
  200.     var image = showModalDialog ('new_icon');
  201.     if (image){
  202.         object.setProperty (property, image);
  203.         image.setDefaultName();
  204.         image.position.x = 0;
  205.         image.position.y = 0;
  206.         image.open();
  207.         image.saved();
  208.         object.build();
  209.         window.reparse();}
  210. }
  211. //////////////////////////////
  212. function DeleteImage (property)
  213. {
  214.     object.saveUndo();
  215.     object.setProperty (property, null);
  216.     object.build();
  217.     window.reparse();
  218. }
  219. ////////////////////////////
  220. function CopyImage (property)
  221. {
  222.     object.copyProperty (property);
  223. }
  224. /////////////////////////////
  225. function PasteImage (property)
  226. {
  227.     object.pasteProperty (property);
  228.     object.build();
  229.     window.reparse();
  230. }
  231.  
  232. </script>
  233.